package jnpf.fico.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import jnpf.fico.entity.ZcglCwInvoiceItemEntity;
import jnpf.fico.mapper.ZcglCwInvoiceItemMapper;
import jnpf.fico.model.invoice.ZcglCwInvoicePagination;
import jnpf.fico.service.ZcglCwInvoiceItemService;
import jnpf.permission.service.AuthorizeService;
import jnpf.util.GeneraterSwapUtil;
import jnpf.util.ServletUtil;
import jnpf.util.UserProvider;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * ZcglCwInvoice
 * 版本： V3.2.0
 * 版权： 智果云科技（https://www.jnpfsoft.com）
 * 作者： JNPF开发平台组
 * 日期： 2024-10-30
 */
@Service
public class ZcglCwInvoiceItemServiceImpl extends ServiceImpl<ZcglCwInvoiceItemMapper, ZcglCwInvoiceItemEntity> implements ZcglCwInvoiceItemService {


    @Autowired
    private GeneraterSwapUtil generaterSwapUtil;

    @Autowired
    private UserProvider userProvider;

    @Autowired
    private AuthorizeService authorizeService;

    @Override
    public QueryWrapper<ZcglCwInvoiceItemEntity> getChild(ZcglCwInvoicePagination pagination, QueryWrapper<ZcglCwInvoiceItemEntity> zcglCwInvoiceItemQueryWrapper) {
        boolean pcPermission = false;
        boolean appPermission = false;
        boolean isPc = ServletUtil.getHeader("jnpf-origin").equals("pc");
        if (isPc) {
        }

        return zcglCwInvoiceItemQueryWrapper;
    }

}
